{include file="header" title="YunCMS后台管理系统" keywords="" description=""/}
<div class="content-page">
    <div class="am-container">
        <div class="min-height">
            <div class="page-title"><h1 class="am-inline">页面列表</h1>
                <a href="<?=URL('/admin/page/edit');?>" class="am-btn am-btn-primary am-btn-xs am-radius">
                    <i class="am-icon am-icon-edit"></i>添加页面
                </a>
            </div>
            <form class="am-form-inline search-form">
                {:token()}
                <div class="am-form-group">
                    <input type="text" class="am-form-field" name="am-form-field" placeholder="关键词">
                </div>
                <button type="submit" class="am-btn am-btn-default"><i class="am-icon-search"></i></button>
            </form>
            <table class="am-table">
                <thead>
                <tr>
                    <th>页面编号</th>
                    <th>标题</th>
                    <th>模型</th>
                    <!--<th>封面</th>-->
                    <th>简介</th>
                    <th>模板</th>
                    <th>SEO标题</th>
                    <th>阅读量</th>
                    <th>更新时间</th>
                    <th>更多操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name='list' id='pages'}
                <tr>
                    <td>{$pages.page_id}</td>
                    <td>{$pages.title}</td>
                    <td>{$pages.model_id}</td>
                    <!--<td>{$pages.cover}</td>-->
                    <td>{$pages.intro}</td>
                    <td>{$pages.template}</td>
                    <td>{$pages.seo_title}</td>
                    <td>{$pages.read_number}</td>
                    <td>{$pages.update_time}</td>
                    <td>
                        <div class="am-btn-group am-btn-group-xs">
                            <a href="<?=URL('/admin/page/edit',array('id'=>$pages['page_id']));?>" class="am-btn am-btn-primary am-radius"><i class="am-icon-edit"></i></a>
                            <a href="<?=URL('/admin/page/delete',array('id'=>$pages['page_id']));?>" class="am-btn am-btn-primary am-radius"><i class="am-icon-trash"></i></a>
                        </div>
                    </td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
        {$page}
    </div>
</div>
{include file="footer" /}
